<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
<head>
	<script type="text/javascript" src="scripts/boot.js"></script>
	<style type="text/css">
	    .asLabel .mini-textbox-border,
	    .asLabel .mini-textbox-input,
	    .asLabel .mini-buttonedit-border,
	    .asLabel .mini-buttonedit-input,
	    .asLabel .mini-textboxlist-border
	    {
	        border:0;background:none;cursor:default;
	    }
	    .asLabel .mini-buttonedit-button,
	    .asLabel .mini-textboxlist-close
	    {
	        display:none;
	    }
	    .asLabel .mini-textboxlist-item
	    {
	        padding-right:8px;
	    }    
    </style>
</head>
<body>
	<fieldset style="width:80%;height:90%;solid 1px #aaa;position:relative;left: 30;top: 10;">
	    <legend >物流基本信息</legend>
	    <div style="padding-left:50px;padding-bottom:25px;">
		<form id="form1" method="post">
		<input name="id" class="mini-hidden" />
	        <table style="table-layout:fixed;" cellspacing="0" cellpadding="10" borderStyle="false" >
            	<tr>
            		<td style="width:90px;">公司名称：</td>
                    <td style="width:180px;"><input name="name" class="mini-textbox asLabel" readonly="true" style="width: 300px"/></td>
                </tr>
                <tr>
                    <td style="width:120px;">公司简称：</td>
                    <td style="width:180px;"><input name="abbreviation" class="mini-textbox asLabel" readonly="true" style="width: 300px" /></td>
                </tr>
                 <tr>
                    <td>是否代收费</td>
                    <td><input id="logistic_genCha_type" name="genCha" errorMode="none" readonly="true" onvalidation="checkValidation" class="mini-combobox asLabel" valueField="keyName" readOnly="true" style="width: 180px" textField="keyValue"/></td>
                </tr>
                <tr>
                    <td>是否合作中</td>
                    <td><input id="logistic_cooperation_type" name="cooperation" readonly="true" onvalidation="checkValidation" class="mini-combobox asLabel" valueField="keyName" style="width: 180px" textField="keyValue"/></td>
                </tr>
                <tr>
                	<td style="width:70px;">网址：</td>
                	<td style="width:180px;"><input name="website" class="mini-textbox asLabel" readonly="true" style="width: 300px"  /></td>
                </tr>
                <tr>
                	<td style="width:70px;">联系电话：</td>
                    <td style="width:180px;"><input name="phone" class="mini-textbox asLabel" readonly="true" vtype="maxLength:30" style="width: 300px" /></td>
                </tr>
                <tr>
                    <td style="width:70px;">传真：</td>
                    <td style="width:180px;"><input name="fax" class="mini-textbox asLabel" readonly="true" style="width: 300px" /></td>
                </tr>
                <tr>
                    <td style="width:70px;">联系人：</td>
                    <td style="width:180px;"><input name="conPeo" class="mini-textbox asLabel" readonly="true" style="width: 300px"/></td>
                </tr>
                <tr>
                    <td >备注：</td>
                    <td colspan="3"><input name="remark" class="mini-textarea asLabel" readonly="true" style="width:300px;" /></td>
                </tr>
            </table>
    	</form>
    	  	<div style="text-align:center;padding:10px;">               
            <a class="mini-button" onclick="onCancel" style="width:60px;margin-right:50px;">关闭</a>       
       		</div> 
    	</div>
    </fieldset>
</body>
</html>
<script type="text/javascript">
mini.parse();

//加载入库类型数据
var gtype = mini.get(logistic_genCha_type);
gtype.load('dictionary_wm_key_val_view.do?typeName=LOGISTIC_GENCHA_TYPE');

var ctype = mini.get(logistic_cooperation_type);
ctype.load('dictionary_wm_key_val_view.do?typeName=LOGISTIC_COO_TYPE');

var form = new mini.Form("#form1");
var id = mini.getbyName("id");

//标准方法接口定义
function SetData(data) {
	data = mini.clone(data);
    form.setData(data.row);
}

function CloseWindow(action) {            
    if (window.CloseOwnerWindow) return window.CloseOwnerWindow(action);
    else window.close();            
}

function onCancel(e) {
    CloseWindow("cancel");
}
</script>
